package com.suning.sawp.po.promotion;

import java.io.Serializable;
import java.util.Date;

import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.index.Indexed;
import org.springframework.data.mongodb.core.mapping.Document;

/**
 * 
 * 发券记录表<br> 
 * 〈功能详细描述〉
 *
 * @author Wuxiao
 * @see [相关类/方法]（可选）
 * @since [产品/模块版本] （可选）
 */
@Document(collection = "CouponRecord")
public class CouponRecord implements Serializable{

    /**
     */
    private static final long serialVersionUID = 1L;
    
    /**
     * 文档Id
     */
    @Id
    private String id;
    /**
     * 工号
     */
    @Indexed
    private String oaAccountNo;
    /**
     * 活动编码
     */
    private String activityId;
    /**
     * 活动名称
     */
    private String activityName;
    /**
     * 活动开始时间
     */
    private Date actStartTime;
    /**
     * 活动结束时间
     */
    private Date actEndTime;
    /**
     * 券Id
     */
    private String couponId;
    /**
     * 券号
     */
    private String couponNo;
    /**
     * 券类型
     */
    private String couponType;
    /**
     * 券名称
     */
    private String couponName;
    /**
     * 券面值
     */
    private String couponAmount;
    /**
     * 会员编码
     */
    private String custNo;
    /**
     * 手机号
     */
    private String telNo;
    /**
     * 发送时间
     */
    @Indexed
    private Date sendTime;
    /**
     * 门店编码
     */
    @Indexed
    private String storeCode;
    /**
     * 门店名称
     */
    private String storeName;
    /**
     * 大区编码
     */
    @Indexed
    private String regionCode;
    /**
     * 大区名称
     */
    private String regionName;
    /**
     * 线下券orderId
     */
    private String offLineOrderId;
    
    public String getId() {
        return id;
    }
    public void setId(String id) {
        this.id = id;
    }
    public String getOaAccountNo() {
        return oaAccountNo;
    }
    public void setOaAccountNo(String oaAccountNo) {
        this.oaAccountNo = oaAccountNo;
    }
    public String getActivityId() {
        return activityId;
    }
    public void setActivityId(String activityId) {
        this.activityId = activityId;
    }
    public String getActivityName() {
        return activityName;
    }
    public void setActivityName(String activityName) {
        this.activityName = activityName;
    }
    public Date getActStartTime() {
        return actStartTime;
    }
    public void setActStartTime(Date actStartTime) {
        this.actStartTime = actStartTime;
    }
    public Date getActEndTime() {
        return actEndTime;
    }
    public void setActEndTime(Date actEndTime) {
        this.actEndTime = actEndTime;
    }
    public String getCouponId() {
        return couponId;
    }
    public void setCouponId(String couponId) {
        this.couponId = couponId;
    }
    public String getCouponNo() {
        return couponNo;
    }
    public void setCouponNo(String couponNo) {
        this.couponNo = couponNo;
    }
    public String getCouponType() {
        return couponType;
    }
    public void setCouponType(String couponType) {
        this.couponType = couponType;
    }
    public String getCouponAmount() {
        return couponAmount;
    }
    public void setCouponAmount(String couponAmount) {
        this.couponAmount = couponAmount;
    }
    public String getCustNo() {
        return custNo;
    }
    public void setCustNo(String custNo) {
        this.custNo = custNo;
    }
    public String getTelNo() {
        return telNo;
    }
    public void setTelNo(String telNo) {
        this.telNo = telNo;
    }
    public Date getSendTime() {
        return sendTime;
    }
    public void setSendTime(Date sendTime) {
        this.sendTime = sendTime;
    }
    public String getCouponName() {
        return couponName;
    }
    public void setCouponName(String couponName) {
        this.couponName = couponName;
    }
    public String getStoreCode() {
        return storeCode;
    }
    public void setStoreCode(String storeCode) {
        this.storeCode = storeCode;
    }
    public String getStoreName() {
        return storeName;
    }
    public void setStoreName(String storeName) {
        this.storeName = storeName;
    }
    public String getRegionCode() {
        return regionCode;
    }
    public void setRegionCode(String regionCode) {
        this.regionCode = regionCode;
    }
    public String getRegionName() {
        return regionName;
    }
    public void setRegionName(String regionName) {
        this.regionName = regionName;
    }
    public String getOffLineOrderId() {
        return offLineOrderId;
    }
    public void setOffLineOrderId(String offLineOrderId) {
        this.offLineOrderId = offLineOrderId;
    }

    public interface Attributes {
        String OA_ACCOUNT_NO = "oaAccountNo";
        String SEND_TIME = "sendTime";
        String ACTIVITY_NAME = "activityName";
        String REGION_CODE = "regionCode";
        String STORE_CODE = "storeCode";
    }
}
